package com.maibow.entity.admin;

import java.io.Serializable;
import java.util.Date;

/**
 * The persistent class for the t_sys_operator
 * database table.
 * 
 */
public class SysOperator implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer operid;

    private Date createtime;

    private Long creatorid;

    private String creatorname;

    private String email;

    private String isadmin;

    private String issubaccount;

    private String isvalid;

    private Integer logincount;

    private Integer loginfaiedcount;

    private String loginip;

    private Date logintime;

    private String nickname;

    private Integer parentoperid;

    private String password;

    private String phonenumber;

    private Date unlocktime;

    private Date updatetime;

    private String username;

    private Integer operlogid;

    private Integer organid;

    private Integer roleid;

    private String skin;
    
    private Role role;
    
    public SysOperator() {
    }

    /**
     * role
     *
     * @return  the role
     * @since   1.0.0
     */
    
    public Role getRole() {
        return role;
    }

    /**
     * @param role the role to set
     */
    public void setRole(Role role) {
        this.role = role;
    }

    /**
     * operid
     *
     * @return  the operid
     * @since   1.0.0
     */
    
    public Integer getOperid() {
        return operid;
    }

    /**
     * @param operid the operid to set
     */
    public void setOperid(Integer operid) {
        this.operid = operid;
    }

    /**
     * createtime
     *
     * @return  the createtime
     * @since   1.0.0
     */
    
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * @param createtime the createtime to set
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * creatorid
     *
     * @return  the creatorid
     * @since   1.0.0
     */
    
    public Long getCreatorid() {
        return creatorid;
    }

    /**
     * @param creatorid the creatorid to set
     */
    public void setCreatorid(Long creatorid) {
        this.creatorid = creatorid;
    }

    /**
     * creatorname
     *
     * @return  the creatorname
     * @since   1.0.0
     */
    
    public String getCreatorname() {
        return creatorname;
    }

    /**
     * @param creatorname the creatorname to set
     */
    public void setCreatorname(String creatorname) {
        this.creatorname = creatorname;
    }

    /**
     * email
     *
     * @return  the email
     * @since   1.0.0
     */
    
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * isadmin
     *
     * @return  the isadmin
     * @since   1.0.0
     */
    
    public String getIsadmin() {
        return isadmin;
    }

    /**
     * @param isadmin the isadmin to set
     */
    public void setIsadmin(String isadmin) {
        this.isadmin = isadmin;
    }

    /**
     * issubaccount
     *
     * @return  the issubaccount
     * @since   1.0.0
     */
    
    public String getIssubaccount() {
        return issubaccount;
    }

    /**
     * @param issubaccount the issubaccount to set
     */
    public void setIssubaccount(String issubaccount) {
        this.issubaccount = issubaccount;
    }


    /**
     * isvalid
     *
     * @return  the isvalid
     * @since   1.0.0
     */
    
    public String getIsvalid() {
        return isvalid;
    }

    /**
     * @param isvalid the isvalid to set
     */
    public void setIsvalid(String isvalid) {
        this.isvalid = isvalid;
    }

    /**
     * logincount
     *
     * @return  the logincount
     * @since   1.0.0
     */
    
    public Integer getLogincount() {
        return logincount;
    }

    /**
     * @param logincount the logincount to set
     */
    public void setLogincount(Integer logincount) {
        this.logincount = logincount;
    }

    /**
     * loginfaiedcount
     *
     * @return  the loginfaiedcount
     * @since   1.0.0
     */
    
    public Integer getLoginfaiedcount() {
        return loginfaiedcount;
    }

    /**
     * @param loginfaiedcount the loginfaiedcount to set
     */
    public void setLoginfaiedcount(Integer loginfaiedcount) {
        this.loginfaiedcount = loginfaiedcount;
    }

    /**
     * loginip
     *
     * @return  the loginip
     * @since   1.0.0
     */
    
    public String getLoginip() {
        return loginip;
    }

    /**
     * @param loginip the loginip to set
     */
    public void setLoginip(String loginip) {
        this.loginip = loginip;
    }

    /**
     * logintime
     *
     * @return  the logintime
     * @since   1.0.0
     */
    
    public Date getLogintime() {
        return logintime;
    }

    /**
     * @param logintime the logintime to set
     */
    public void setLogintime(Date logintime) {
        this.logintime = logintime;
    }

    /**
     * nickname
     *
     * @return  the nickname
     * @since   1.0.0
     */
    
    public String getNickname() {
        return nickname;
    }

    /**
     * @param nickname the nickname to set
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * parentoperid
     *
     * @return  the parentoperid
     * @since   1.0.0
     */
    
    public Integer getParentoperid() {
        return parentoperid;
    }

    /**
     * @param parentoperid the parentoperid to set
     */
    public void setParentoperid(Integer parentoperid) {
        this.parentoperid = parentoperid;
    }

    /**
     * password
     *
     * @return  the password
     * @since   1.0.0
     */
    
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * phonenumber
     *
     * @return  the phonenumber
     * @since   1.0.0
     */
    
    public String getPhonenumber() {
        return phonenumber;
    }

    /**
     * @param phonenumber the phonenumber to set
     */
    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    /**
     * unlocktime
     *
     * @return  the unlocktime
     * @since   1.0.0
     */
    
    public Date getUnlocktime() {
        return unlocktime;
    }

    /**
     * @param unlocktime the unlocktime to set
     */
    public void setUnlocktime(Date unlocktime) {
        this.unlocktime = unlocktime;
    }

    /**
     * updatetime
     *
     * @return  the updatetime
     * @since   1.0.0
     */
    
    public Date getUpdatetime() {
        return updatetime;
    }

    /**
     * @param updatetime the updatetime to set
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    /**
     * username
     *
     * @return  the username
     * @since   1.0.0
     */
    
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * operlogid
     *
     * @return  the operlogid
     * @since   1.0.0
     */
    
    public Integer getOperlogid() {
        return operlogid;
    }

    /**
     * @param operlogid the operlogid to set
     */
    public void setOperlogid(Integer operlogid) {
        this.operlogid = operlogid;
    }

    /**
     * organid
     *
     * @return  the organid
     * @since   1.0.0
     */
    
    public Integer getOrganid() {
        return organid;
    }

    /**
     * @param organid the organid to set
     */
    public void setOrganid(Integer organid) {
        this.organid = organid;
    }

    /**
     * roleid
     *
     * @return  the roleid
     * @since   1.0.0
     */
    
    public Integer getRoleid() {
        return roleid;
    }

    /**
     * @param roleid the roleid to set
     */
    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    /**
     * skin
     *
     * @return  the skin
     * @since   1.0.0
     */
    
    public String getSkin() {
        return skin;
    }

    /**
     * @param skin the skin to set
     */
    public void setSkin(String skin) {
        this.skin = skin;
    }

}